<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../js/vue.js"></script>
</head>

<body>
  <div id="demo">
    <h2>学校名称:{{school}}</h2>
    <h2>学校地址:{{addres}}</h2>
    <h2>学校楼层:{{fooler}}</h2>
    <h2>测试:{{fooler>6?'高':'低'}}</h2>
  </div>
  <script>
    new Vue({
      el: '#demo',
      data: {
        school: '北极光',
        addres: '北京',
        fooler: 6
      }
    })
  </script>
</body>

</html>